<?php $post = $this->get('post');?>
<form action="<?php _actionUrl($this)?>" onsubmit="return ajax_form(this)" method="post">
<div class="x-list-title">
<table width="100%" border="0" height="100%">
	<tr>
		<td align="left">
			<h2>Cài đặt máy chủ dịch vụ</h2>
		</td>
		<td align="right"></td>
	</tr>
</table>	
</div>
<?php $this->e('message');?>
<div class="x-form-container">
<div class="form-message"></div>
<table class="x-form" cellpadding="5" width="100%">
	<tr>
		<td colspan="2">
			<h2 class="form-section-title">Email</h2>
		</td>
	</tr>
	<tr>
		<td class='x-form-label'>
			host:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('smtp_host',$post['smtp_host']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			port:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('smtp_port',$post['smtp_port']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			email:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('smtp_email',$post['smtp_email']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			password:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('smtp_password',$post['smtp_password']);?>		
		</td>					
	</tr>
	<tr>
		<td colspan="2">
			<h2 class="form-section-title">Máy chủ SMS</h2>
		</td>
	</tr>	
	<tr>
		<td class='x-form-label'>
			src:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_src',$post['sms_src']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			mtsqe:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_mtsqe',$post['sms_mtsqe']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			moid:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_moid',$post['sms_moid']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			moseq:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_moseq',$post['sms_moseq']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			cmdcode:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_cmdcode',$post['sms_cmdcode']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			cpid:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_cpid',$post['sms_cpid']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			opid:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_opid',$post['sms_opid']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			url:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_url',$post['sms_url']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			username:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_username',$post['sms_username']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			password:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_password',$post['sms_password']);?>		
		</td>					
	</tr>
	<tr>
		<td class='x-form-label'>
			msgtitle:
		</td>
		<td class='x-form-input'>
			<?php echo tpl_input_normal('sms_msgtitle',$post['sms_msgtitle']);?>		
		</td>					
	</tr>
<tr>
	<td></td>
	<td colspan="2">
		<?php _e(tpl_button_add('Cập nhật'))?>
		<?php _e(tpl_button_back('Hủy bỏ','#Admin'))?>
	</td>
</tr>
</table>
</div>
</form>
